using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class LeftLinkManager
    {
        public static bool AddLeftLink(int adminId, int TypeId, int typeLinkId)
        {
            return LeftLinkService.AddLeftLink(adminId, TypeId, typeLinkId);
        }

        public static bool DeleteLeftLinkByLeftID(int leftID)
        {
            return LeftLinkService.DeleteLeftLinkByLeftID(leftID);
        }

        public static bool ModifyLeftLink(LeftLink leftLink)
        {
            return LeftLinkService.ModifyLeftLink(leftLink);
        }

        public static IList<LeftLink> GetAllLeftLinks()
        {
            return LeftLinkService.GetAllLeftLinks();
        }

        public static LeftLink GetLeftLinkByLeftID(int leftID)
        {
            return LeftLinkService.GetLeftLinkByLeftID(leftID);
        }

        public static IList<LeftLink> GetLeftLinksByUserID3(int userID)
        {
            return LeftLinkService.GetLeftLinksByUserID3(userID);
        }

        public static IList<LeftLink> GetLeftLinksByUserID6(int userID, int typeId)
        {
            return LeftLinkService.GetLeftLinksByUserID6(userID, typeId);
        }

        public static bool DeleteLeftLink(int userID, int typeID)
        {
            return LeftLinkService.DeleteLeftLink(userID, typeID);
        }

        public static IList<LeftLink> GetLeftLinksByUserID(int userID)
        {
            return LeftLinkService.GetLeftLinksByUserID(userID);
        }
    }
}
